<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="superviseMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="0" />
<title>监督人员管理</title>
<script type="text/javascript">
	function batchsave(){
		var superviseId =  $("#superviseId").val();
		$.ajax({
			  url: "${ctx }/business/appl/superviser!batchSave.action?projectId=${param.projectId}&superviseId="+encodeURI(superviseId),
			  success: function(msg){
			    if(msg=="1"){
			    	alert("保存成功！");
			    	window.returnValue=true;
			    	window.close();
			    }else{
			    	alert("保存失败，请重新操作...");
			    }
			  }
		});
	}
</script>
</head>
<body>
	<form
		action="${ctx }/business/appl/superviser!batchSave.action?projectId=${param.projectId}"
		id="inputForm" method="post" class="yform">
		<table class="noborder">
			<tr class="type-text">
				<td>选择监督组</td>
				<td colspan="3">
					<pt:labels  name="superviseId" type="supervise" ></pt:labels>
				</td>
			</tr>
		</table>
		<div class="type-button">
			<input class="submit" type="button" value="保存" onclick="batchsave();" />&nbsp; <input
				class="reset" type="button" value="取消" class="rest"
				onclick="window.close();" />
		</div>
	</form>
</body>
</html>